# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class Flavor(object):

    def __init__(self, nodeClass=None, cpu=None, memoryGB=None, storageGBRange=None):
        """
        :param nodeClass: (Optional) 规格代码
        :param cpu: (Optional) cup核数
        :param memoryGB: (Optional) 内存大小
        :param storageGBRange: (Optional) 该规格支持的存储空间的最小值，最大值及步长，用英文逗号分隔，例如100,4000,50 表示最小存储空间100GB，最大空间4000GB，步长50GBZK节点无须返回该字段
        """

        self.nodeClass = nodeClass
        self.cpu = cpu
        self.memoryGB = memoryGB
        self.storageGBRange = storageGBRange
